﻿using Microsoft.AspNetCore.Mvc;

using Tszy.Unlimited.Base.Infrastructure.Stores;
using Tszy.Unlimited.Base.Models;

namespace ProjectTemplate.API.Controllers;

[ApiController]
public class TestController : ControllerBase
{
    // 当前请求生效。
    private readonly IScopeStore? _scopeStore;

    public TestController(IScopeStore scopeStore)
    {
        _scopeStore = scopeStore;
    }

    [HttpGet, HttpPost]
    [Route("api/test1")]
    public ResponseResult Test1()
    {
        return ResponseResult.Success();
    }
}